package com.otojob.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description
 * @Author: TingFeng
 * @CreateTime: 2022/3/19  18:25
 */
@Data
@AllArgsConstructor  //生成有参数构造方法
@NoArgsConstructor   //生成无参数构造
public class OtoException extends RuntimeException {

    private Integer code;//状态码
    private String msg;//异常信息


}
